package com.hm.PushCaseService.framework.service.base;

import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;

import java.util.HashMap;


@Service
public interface IBaseService<T> {

    HashMap<String, String> handleRequest(HttpServletRequest request);

    String generateSucceed(String secretKey, T data);

    String generateSucceed(String secretKey, int code, T data);

    String generateFail(String des);

    String generateFail(int code, String des);

}
